Learn R Programming

RPyGeo (version 0.9-3)

RPyGeo Helper Functions: Helper functions for RPyGeo

Description

Helper functions.

Usage

write.point.shapefile(d, file, x.field = "x", y.field = "y", id.field = NULL) write.temp.point.shapefile(d, pattern = "file", tmpdir = tempdir(), ...) rpygeo.extent.to.character(x)

Arguments

d
data.frame representing point data
file
name of shapefile (WITHOUT file extension)
x.field, y.field
names of attributes with x and y coordinates in d
id.field
(optional) name of attribute that serves as unique identifier; will use values 1:nrow(d) if not specified
pattern
initial part of temporary shapefile name
tmpdir
folder where temporary shapefiles should be stored
x
list with components x and y, each a vector of length 2, specifying lower and upper x/y limits.
...
additional arguments for write.point.shapefile

See Also

rpygeo.geoprocessor, rpygeo.build.env, write.shapefile